# #count统计列表某个元素数量
# #index获取第一次出现某个元素的下标
# books = ["水浒传","红楼梦","三国演义","西游记","西游记"]
# num = books.count("西游记")
# print(num)
# position = books.index("西游记")
# print(position)


#sum(a,b)把a中所有元素相加后再加b
score = [15,25,65,55,90,15]
total = sum(score)
print("总分数:",total)
totalplus = sum(score,100)
print("总分数＋100:",totalplus)

















